//
//  HomePageSearchResultRes.m
//  Taste
//
//  Created by 徐昊 on 16/9/23.
//  Copyright © 2016年 徐昊. All rights reserved.
//

#import "HomePageSearchResultRes.h"
#import "HomePageSearchResultContent.h"
@implementation HomePageSearchResultRes
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"content"]) {
        NSMutableArray *array = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            HomePageSearchResultContent *content = [HomePageSearchResultContent modelWithDic:dic];
            [array addObject:content];
        }
        _content = array;
    }
}
@end
